package main

import "fmt"

func f(a [3]int) {
	fmt.Printf("a = %v\n", a)
	a[0] = 1
	a[1] = 2
	a[2] = 3
	fmt.Printf("a = %v\n", a)
}

func main() {
	x := [...]int{9, 9, 9}
	fmt.Printf("x = %v\n", x)
	f(x)
	fmt.Printf("x = %v\n", x)
}
